package com.tiger.controller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author HuXuehao (StudiousTiger)
 * @desc 这个类的作用是
 * @date 2022/6/24
 */
@Slf4j
@RestController
public class FilterController {
    @RequestMapping(value = "/noLogin/user", name = "用户未登录处理controller/user")
    public String noLoginOfUser(){

        return "noLoginOfUser";
    }
    @RequestMapping(value = "/noLogin/admin", name = "管理员未登录处理controller/admin")
    public String noLoginOfAdmin(){

        return "noLoginOfAdmin";
    }

    @RequestMapping(value = "/disable", name = "禁用处理controller/user")
    public String disable(){

        return "disable";
    }
    @RequestMapping(value = "/chat", name = "websocket请求连接/user")
    public void chat(){}
}
